home *** CD-ROM | disk | FTP | other *** search
-
-
-
- RRRRWWWWSSSSeeeeqqqquuuueeeennnncccceeeeaaaabbbblllleeee((((3333CCCC++++++++)))) RRRRWWWWSSSSeeeeqqqquuuueeeennnncccceeeeaaaabbbblllleeee((((3333CCCC++++++++))))
-
-
-
- NNNNaaaammmmeeee
- RWSequenceable - Rogue Wave library class
-
- SSSSyyyynnnnooooppppssssiiiissss
- #include <rw/seqcltn.h>
-
-
-
- typedef RWSequenceable SequenceableCollection;
- // Smalltalk typedef
-
-
-
-
- DDDDeeeessssccccrrrriiiippppttttiiiioooonnnn
- Class RRRRWWWWSSSSeeeeqqqquuuueeeennnncccceeeeaaaabbbblllleeee is an abstract base class for collections that can
- be accessed by an index. It inherits class RRRRWWWWCCCCoooolllllllleeeeccccttttiiiioooonnnn as a public base
- class and adds a few extra virtual functions. This documentation only
- describes these extra functions.
-
- PPPPeeeerrrrssssiiiisssstttteeeennnncccceeee
- Polymorphic
-
-
-
-
-
- PPPPuuuubbbblllliiiicccc MMMMeeeemmmmbbbbeeeerrrr FFFFuuuunnnnccccttttiiiioooonnnnssss
- RWCollectable*
- aaaappppppppeeeennnndddd(RWCollectable*) = 0;
-
-
- Adds the item to the end of the collection and returns it. Returns nnnniiiillll
- if the insertion was unsuccessful.
-
- virtual RWCollectable*&
- aaaatttt(size_t i);
- virtual const RWCollectable*
- aaaatttt(size_t i) const;
-
-
- Allows access to the iiiith element of the collection. The first variant
- can be used as an lvalue, the second cannot. The index iiii must be between
- zero and the number of items in the collection less one, or an exception
- of type RRRRWWWWBBBBoooouuuunnnnddddssssEEEErrrrrrrr will be thrown.
-
- virtual RWCollectable*
- ffffiiiirrrrsssstttt() const = 0;
-
-
- Returns the first item in the collection.
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- RRRRWWWWSSSSeeeeqqqquuuueeeennnncccceeeeaaaabbbblllleeee((((3333CCCC++++++++)))) RRRRWWWWSSSSeeeeqqqquuuueeeennnncccceeeeaaaabbbblllleeee((((3333CCCC++++++++))))
-
-
-
- virtual size_t
- iiiinnnnddddeeeexxxx(const RWCollectable* c) const = 0;
-
-
- Returns the index number of the first item that "matches" the item
- pointed to by cccc. If there is no such item, returns RRRRWWWW____NNNNPPPPOOOOSSSS. For most
- collections, an item "matches" the target if either iiiissssEEEEqqqquuuuaaaallll(((()))) or
- ccccoooommmmppppaaaarrrreeeeTTTToooo(((()))) find equivalence, whichever is appropriate for the actual
- collection type.
-
- void
- iiiinnnnsssseeeerrrrttttAAAAtttt(size_t indx, RWCollectable* e);
-
-
- Adds a new item to the collection at position iiiinnnnddddxxxx. The item previously
- at position iiii is moved to iiii++++1111, etc. The index iiiinnnnddddxxxx must be between 0 and
- the number of items in the collection, or an exception of type
- RRRRWWWWBBBBoooouuuunnnnddddssssEEEErrrrrrrr will be thrown.
-
- virtual RWCollectable*
- llllaaaasssstttt() const = 0;
-
-
- Returns the last item in the collection.
-
- RWCollectable*
- pppprrrreeeeppppeeeennnndddd(RWCollectable*) = 0;
-
-
- Adds the item to the beginning of the collection and returns it. Returns
- nnnniiiillll if the insertion was unsuccessful.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-